package scanner.fastjson;

import scanner.Scanner;

public class FastjsonScanner extends Scanner {

    public static void main(String[] args) {
        String[] params = new String[]{};
        new FastjsonScanner().run(params);
    }

    public FastjsonScanner(){
        this.URL = "";
    }

    @Override
    public void parse() {

    }

    @Override
    public void run(String[] params) {
        parse();
        if (params.length ==1){
            this.URL = params[0];
        }else {
            System.out.println("pass");
        }

        if(check(this.URL)){
            System.out.println("[*] "+this.URL+" maybe is vulnerable");
        }else {
            System.out.println("[!] "+ this.URL + " maybe is not vulnerable");
        }

    }

    @Override
    public String regVersion(String res) {
        return null;
    }

    @Override
    public boolean check(String url) {
        return false;
    }
}
